package com.liyujie.dyeingmachine.ui.backstage;

import android.os.Bundle;

import androidx.lifecycle.ViewModelProvider;

import com.liyujie.dyeingmachine.R;
import com.liyujie.dyeingmachine.databinding.ActivityBackstageBinding;
import com.liyujie.dyeingmachine.ui.BaseActivity;

public class BackstageActivity extends BaseActivity<ActivityBackstageBinding> {

    /**
     * VM
     */
    private BackstageViewModel backstageViewModel;


    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.activity_backstage;

    }

    public void initViewModel() {
        //VM
        backstageViewModel = new ViewModelProvider(getViewModelStore(), new ViewModelProvider.AndroidViewModelFactory(getApplication())).get(BackstageViewModel.class);
        binding.setViewModel(backstageViewModel);

    }


    @Override
    public void initView() {
        super.initView();
    }


}
